package com.zxx.pattern.commandPattern.command3;

import android.graphics.Path;

/**
 * 普通笔触（线条）
 * @author zxx on 2021/3/8
 */
public class IBrushNormal implements IBrush {

    @Override
    public void down(Path path, float x, float y) {
        path.moveTo(x, y);
    }

    @Override
    public void move(Path path, float x, float y) {
        path.lineTo(x, y);
    }

    @Override
    public void up(Path path, float x, float y) {

    }
}
